home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: HyperCard Stack
(archive/hypercard).
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 0e 00 53 54 41 4b | ff ff ff ff 26 c0 f0 f4 |....STAK|....&...|
|00000010| 00 00 00 08 00 00 32 40 | 00 00 0e 00 00 00 00 00 |......2@|........|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 0a 3b 00 00 00 02 |........|...;....|
|00000030| 00 00 0b 3b 00 00 09 3b | 00 00 00 00 00 00 00 00 |...;...;|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 05 00 00 d0 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 01 22 80 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |."..."..|."..."..|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 6f 6e 20 44 6f 43 6f 70 | 79 20 66 72 6f 6d 66 69 |on DoCop|y fromfi|
|00000610| 6c 65 2c 20 74 6f 66 69 | 6c 65 2c 20 72 65 73 74 |le, tofi|le, rest|
|00000620| 79 70 65 2c 20 72 65 73 | 6e 61 6d 65 0d 70 75 74 |ype, res|name.put|
|00000630| 20 22 43 6f 70 79 22 20 | 26 26 20 72 65 73 74 79 | "Copy" |&& resty|
|00000640| 70 65 20 26 26 20 72 65 | 73 6e 61 6d 65 0d 67 6c |pe && re|sname.gl|
|00000650| 6f 62 61 6c 20 45 78 74 | 65 72 6e 61 6c 5f 45 72 |obal Ext|ernal_Er|
|00000660| 72 6f 72 0d 52 65 73 48 | 61 6e 64 6c 65 20 22 6c |ror.ResH|andle "l|
|00000670| 69 73 74 22 2c 20 74 6f | 66 69 6c 65 2c 20 72 65 |ist", to|file, re|
|00000680| 73 74 79 70 65 0d 70 75 | 74 20 74 68 65 20 72 65 |stype.pu|t the re|
|00000690| 73 75 6c 74 20 69 6e 74 | 6f 20 74 6f 6c 69 73 74 |sult int|o tolist|
|000006a0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|000006b0| 6f 66 20 77 6f 72 64 73 | 20 69 6e 20 74 6f 6c 69 |of words| in toli|
|000006c0| 73 74 20 69 6e 74 6f 20 | 63 6f 75 6e 74 0d 69 66 |st into |count.if|
|000006d0| 20 63 6f 75 6e 74 20 3e | 20 30 20 74 68 65 6e 0d | count >| 0 then.|
|000006e0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 78 20 3d |repeat w|ith ix =|
|000006f0| 20 31 20 74 6f 20 63 6f | 75 6e 74 0d 69 66 20 28 | 1 to co|unt.if (|
|00000700| 77 6f 72 64 20 69 78 20 | 6f 66 20 74 6f 6c 69 73 |word ix |of tolis|
|00000710| 74 29 20 3d 20 72 65 73 | 6e 61 6d 65 20 74 68 65 |t) = res|name the|
|00000720| 6e 0d 61 6e 73 77 65 72 | 20 72 65 73 6e 61 6d 65 |n.answer| resname|
|00000730| 20 26 20 22 20 61 6c 72 | 65 61 64 79 20 69 6e 20 | & " alr|eady in |
|00000740| 64 65 73 74 69 6e 61 74 | 69 6f 6e 2c 20 61 63 74 |destinat|ion, act|
|00000750| 69 6f 6e 3f 22 20 c2 0d | 77 69 74 68 20 22 43 61 |ion?" ..|with "Ca|
|00000760| 6e 63 65 6c 22 6f 72 20 | 22 52 65 70 6c 61 63 65 |ncel"or |"Replace|
|00000770| 22 0d 69 66 20 69 74 20 | 3d 20 22 43 61 6e 63 65 |".if it |= "Cance|
|00000780| 6c 22 20 74 68 65 6e 0d | 65 78 69 74 20 44 6f 43 |l" then.|exit DoC|
|00000790| 6f 70 79 0d 65 6c 73 65 | 0d 52 65 73 48 61 6e 64 |opy.else|.ResHand|
|000007a0| 6c 65 20 22 64 65 6c 65 | 22 2c 20 74 6f 66 69 6c |le "dele|", tofil|
|000007b0| 65 2c 20 72 65 73 74 79 | 70 65 2c 20 72 65 73 6e |e, resty|pe, resn|
|000007c0| 61 6d 65 0d 69 66 20 22 | 4f 6b 22 20 69 73 20 6e |ame.if "|Ok" is n|
|000007d0| 6f 74 20 69 6e 20 45 78 | 74 65 72 6e 61 6c 5f 45 |ot in Ex|ternal_E|
|000007e0| 72 72 6f 72 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |rror the|n.answer|
|000007f0| 20 22 44 65 6c 65 74 65 | 20 66 61 69 6c 65 64 22 | "Delete| failed"|
|00000800| 20 77 69 74 68 20 22 4f | 4b 22 0d 65 78 69 74 20 | with "O|K".exit |
|00000810| 44 6f 43 6f 70 79 0d 65 | 6e 64 20 69 66 0d 65 6e |DoCopy.e|nd if.en|
|00000820| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00000830| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 52 65 |repeat.e|nd if.Re|
|00000840| 73 48 61 6e 64 6c 65 20 | 22 63 6f 70 79 22 2c 20 |sHandle |"copy", |
|00000850| 66 72 6f 6d 66 69 6c 65 | 2c 20 74 6f 66 69 6c 65 |fromfile|, tofile|
|00000860| 2c 20 72 65 73 74 79 70 | 65 2c 20 72 65 73 6e 61 |, restyp|e, resna|
|00000870| 6d 65 2c 20 72 65 73 6e | 61 6d 65 0d 69 66 20 22 |me, resn|ame.if "|
|00000880| 4f 6b 22 20 69 73 20 6e | 6f 74 20 69 6e 20 45 78 |Ok" is n|ot in Ex|
|00000890| 74 65 72 6e 61 6c 5f 45 | 72 72 6f 72 20 74 68 65 |ternal_E|rror the|
|000008a0| 6e 0d 61 6e 73 77 65 72 | 20 22 43 6f 70 79 20 66 |n.answer| "Copy f|
|000008b0| 61 69 6c 65 64 22 20 77 | 69 74 68 20 22 4f 4b 22 |ailed" w|ith "OK"|
|000008c0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 44 6f 43 6f |.end if.|end DoCo|
|000008d0| 70 79 0d 0d 6f 6e 20 45 | 64 69 74 53 63 72 69 70 |py..on E|ditScrip|
|000008e0| 74 20 70 61 74 68 0d 6c | 6f 63 6b 20 73 63 72 65 |t path.l|ock scre|
|000008f0| 65 6e 0d 70 75 73 68 20 | 63 61 72 64 0d 67 6f 20 |en.push |card.go |
|00000900| 73 74 61 63 6b 20 70 61 | 74 68 0d 70 75 74 20 74 |stack pa|th.put t|
|00000910| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 74 68 69 |he scrip|t of thi|
|00000920| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 74 73 63 |s stack |into tsc|
|00000930| 72 69 70 74 0d 69 66 20 | 6f 66 66 73 65 74 28 22 |ript.if |offset("|
|00000940| 5a 61 70 47 6c 6f 62 61 | 6c 73 22 2c 20 74 73 63 |ZapGloba|ls", tsc|
|00000950| 72 69 70 74 29 20 ad 20 | 30 20 74 68 65 6e 0d 61 |ript) . |0 then.a|
|00000960| 6e 73 77 65 72 20 22 48 | 6f 6d 65 20 73 63 72 69 |nswer "H|ome scri|
|00000970| 70 74 20 61 6c 72 65 61 | 64 79 20 63 6f 6e 74 61 |pt alrea|dy conta|
|00000980| 69 6e 73 20 5a 61 70 47 | 6c 6f 62 61 6c 73 22 20 |ins ZapG|lobals" |
|00000990| 77 69 74 68 20 22 4f 4b | 22 0d 70 6f 70 20 63 61 |with "OK|".pop ca|
|000009a0| 72 64 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |rd.unloc|k screen|
|000009b0| 0d 65 78 69 74 20 45 64 | 69 74 53 63 72 69 70 74 |.exit Ed|itScript|
|000009c0| 0d 65 6e 64 20 69 66 0d | 69 66 20 6f 66 66 73 65 |.end if.|if offse|
|000009d0| 74 28 22 6f 6e 20 71 75 | 69 74 22 2c 20 74 73 63 |t("on qu|it", tsc|
|000009e0| 72 69 70 74 29 20 3d 20 | 30 20 74 68 65 6e 0d 70 |ript) = |0 then.p|
|000009f0| 75 74 20 22 6f 6e 20 71 | 75 69 74 22 20 26 20 72 |ut "on q|uit" & r|
|00000a00| 65 74 75 72 6e 20 26 20 | c2 0d 22 5a 61 70 47 6c |eturn & |.."ZapGl|
|00000a10| 6f 62 61 6c 73 22 20 26 | 20 72 65 74 75 72 6e 20 |obals" &| return |
|00000a20| 26 20 c2 0d 22 70 61 73 | 73 20 71 75 69 74 20 2d |& .."pas|s quit -|
|00000a30| 2d 20 74 6f 20 61 20 71 | 75 69 74 20 58 43 4d 44 |- to a q|uit XCMD|
|00000a40| 2c 20 69 66 20 70 72 65 | 73 65 6e 74 22 20 26 20 |, if pre|sent" & |
|00000a50| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 65 6e 64 20 |return &| .."end |
|00000a60| 71 75 69 74 22 20 26 20 | 72 65 74 75 72 6e 20 26 |quit" & |return &|
|00000a70| 20 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 74 | return |before t|
|00000a80| 73 63 72 69 70 74 0d 65 | 6c 73 65 0d 61 6e 73 77 |script.e|lse.answ|
|00000a90| 65 72 20 22 51 75 69 74 | 20 68 61 6e 64 6c 65 72 |er "Quit| handler|
|00000aa0| 20 65 78 69 73 74 73 2c | 20 6d 61 6e 75 61 6c 20 | exists,| manual |
|00000ab0| 65 64 69 74 20 72 65 71 | 75 69 72 65 64 22 20 77 |edit req|uired" w|
|00000ac0| 69 74 68 20 22 4f 4b 22 | 0d 65 6e 64 20 69 66 0d |ith "OK"|.end if.|
|00000ad0| 69 66 20 6f 66 66 73 65 | 74 28 22 6f 6e 20 73 75 |if offse|t("on su|
|00000ae0| 73 70 65 6e 64 22 2c 20 | 74 73 63 72 69 70 74 29 |spend", |tscript)|
|00000af0| 20 3d 20 30 20 74 68 65 | 6e 0d 70 75 74 20 22 6f | = 0 the|n.put "o|
|00000b00| 6e 20 73 75 73 70 65 6e | 64 22 20 26 20 72 65 74 |n suspen|d" & ret|
|00000b10| 75 72 6e 20 26 20 c2 0d | 22 5a 61 70 47 6c 6f 62 |urn & ..|"ZapGlob|
|00000b20| 61 6c 73 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |als" & r|eturn & |
|00000b30| c2 0d 22 70 61 73 73 20 | 73 75 73 70 65 6e 64 20 |.."pass |suspend |
|00000b40| 2d 2d 20 74 6f 20 61 20 | 73 75 73 70 65 6e 64 20 |-- to a |suspend |
|00000b50| 58 43 4d 44 2c 20 69 66 | 20 70 72 65 73 65 6e 74 |XCMD, if| present|
|00000b60| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00000b70| 65 6e 64 20 73 75 73 70 | 65 6e 64 22 20 26 20 72 |end susp|end" & r|
|00000b80| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 62 |eturn & |return b|
|00000b90| 65 66 6f 72 65 20 74 73 | 63 72 69 70 74 0d 65 6c |efore ts|cript.el|
|00000ba0| 73 65 0d 61 6e 73 77 65 | 72 20 22 53 75 73 70 65 |se.answe|r "Suspe|
|00000bb0| 6e 64 20 68 61 6e 64 6c | 65 72 20 65 78 69 73 74 |nd handl|er exist|
|00000bc0| 73 2c 20 6d 61 6e 75 61 | 6c 20 65 64 69 74 20 72 |s, manua|l edit r|
|00000bd0| 65 71 75 69 72 65 64 22 | 20 77 69 74 68 20 22 4f |equired"| with "O|
|00000be0| 4b 22 0d 65 6e 64 20 69 | 66 0d 73 65 74 20 74 68 |K".end i|f.set th|
|00000bf0| 65 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |e script| of this|
|00000c00| 20 73 74 61 63 6b 20 74 | 6f 20 74 73 63 72 69 70 | stack t|o tscrip|
|00000c10| 74 0d 70 6f 70 20 63 61 | 72 64 0d 75 6e 6c 6f 63 |t.pop ca|rd.unloc|
|00000c20| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 45 64 69 |k screen|.end Edi|
|00000c30| 74 53 63 72 69 70 74 0d | 00 65 6e 64 20 45 64 69 |tScript.|.end Edi|
|00000c40| 74 53 63 72 69 70 74 0d | 00 75 6e 6c 6f 63 6b 20 |tScript.|.unlock |
|00000c50| 73 63 72 65 65 6e 0d 65 | 6e 64 20 45 64 69 74 53 |screen.e|nd EditS|
|00000c60| 63 72 69 70 74 0d 00 74 | 6f 20 6d 61 78 0d 65 6e |cript..t|o max.en|
|00000c70| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 61 64 64 20 |d if.end| if.add |
|00000c80| 31 20 74 6f 20 69 0d 65 | 6e 64 20 72 65 70 65 61 |1 to i.e|nd repea|
|00000c90| 74 0d 69 66 20 66 6f 75 | 6e 64 20 ad 20 32 20 74 |t.if fou|nd . 2 t|
|00000ca0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 46 61 69 6c |hen.answ|er "Fail|
|00000cb0| 65 64 20 74 6f 20 65 64 | 69 74 20 68 6f 6d 65 20 |ed to ed|it home |
|00000cc0| 73 63 72 69 70 74 22 20 | 77 69 74 68 20 22 4f 4b |script" |with "OK|
|00000cd0| 22 0d 65 6c 73 65 0d 73 | 65 74 20 74 68 65 20 73 |".else.s|et the s|
|00000ce0| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 73 74 |cript of| this st|
|00000cf0| 61 63 6b 20 74 6f 20 74 | 73 63 72 69 70 74 0d 65 |ack to t|script.e|
|00000d00| 6e 64 20 69 66 0d 70 6f | 70 20 63 61 72 64 0d 75 |nd if.po|p card.u|
|00000d10| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00000d20| 20 45 64 69 74 53 63 72 | 69 70 74 0d 00 00 00 00 | EditScr|ipt.....|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 01 37 7c 00 00 80 3b | 00 00 c4 3b 00 00 c6 3b |..7|...;|...;...;|
|00000e30| 00 01 35 f8 00 00 00 00 | 00 00 00 00 00 00 84 16 |..5.....|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 80 4c 49 53 54 | 00 00 09 3b 00 00 00 01 |....LIST|...;....|
|00001010| 00 00 08 00 00 00 00 02 | 00 44 00 02 00 10 00 03 |........|.D......|
|00001020| c0 00 01 e4 00 00 00 02 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 0f 16 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 08 00 50 41 47 45 | 00 00 0f 16 00 00 09 3b |....PAGE|.......;|
|00001090| 6c 00 01 3c 00 00 00 00 | 00 00 0b 3b e0 6a bc ff |l..<....|...;.j..|
|000010a0| ff f1 7a 5f 7f fc 85 d2 | 6f bd 57 3b d7 5c f5 9a |..z_....|o.W;.\..|
|000010b0| 33 f8 ff fb e7 9e ff fd | 76 ec ef 79 ff 3f 77 3e |3.......|v..y.?w>|
|000010c0| fe e5 dd 73 f7 bf f5 ad | eb eb f6 a9 bf 6c 76 5b |...s....|.....lv[|
|000010d0| fc df db db 94 fd d7 fd | ff bf f7 f4 00 00 08 7c |........|.......||
|000010e0| a0 02 6c 8f 91 e2 63 cb | 21 60 07 c8 67 2c 60 3a |..l...c.|!`..g,`:|
|000010f0| e8 54 8d 84 94 44 64 5f | 4f 14 9b 84 33 c8 39 38 |.T...Dd_|O...3.98|
|00001100| e3 6c 70 ea 84 16 d5 01 | 1d 03 60 a0 cf 03 90 41 |.lp.....|..`....A|
|00001110| aa 7d f2 38 78 e8 d2 3b | 50 bd 92 6c cf 81 00 11 |.}.8x..;|P..l....|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 40 42 4b 47 44 | 00 00 0a 3b 00 00 00 00 |...@BKGD|...;....|
|00001890| 00 00 00 00 00 00 00 02 | 00 00 0a 3b 00 00 0a 3b |........|...;...;|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 0d e0 43 41 52 44 | 00 00 0b 3b 00 00 0c f8 |....CARD|...;....|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0f 16 |........|........|
|000018e0| 00 00 0a 3b 00 08 00 0e | 00 00 05 28 00 05 00 00 |...;....|...(....|
|000018f0| 08 25 00 26 00 04 02 01 | 00 6a 00 15 01 39 01 ec |.%.&....|.j...9..|
|00001900| 00 07 00 00 00 00 00 00 | 00 04 00 09 00 00 00 0c |........|........|
|00001910| 64 65 73 63 00 00 00 00 | 03 b6 00 06 01 00 01 3e |desc....|.......>|
|00001920| 00 15 01 54 00 79 80 03 | 00 00 00 00 00 01 00 00 |...T.y..|........|
|00001930| 00 0c 00 00 00 10 49 6e | 73 74 61 6c 6c c9 00 00 |......In|stall...|
|00001940| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 61 6e 73 77 65 |on mouse|Up.answe|
|00001950| 72 20 22 49 6e 73 74 61 | 6c 6c 20 69 6e 74 6f 20 |r "Insta|ll into |
|00001960| 48 6f 6d 65 20 73 74 61 | 63 6b 3f 22 20 77 69 74 |Home sta|ck?" wit|
|00001970| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4e |h "Cance|l" or "N|
|00001980| 6f 22 20 6f 72 20 22 59 | 65 73 22 0d 69 66 20 69 |o" or "Y|es".if i|
|00001990| 74 20 3d 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 |t = "Can|cel" the|
|000019a0| 6e 0d 61 6e 73 77 65 72 | 20 22 49 6e 73 74 61 6c |n.answer| "Instal|
|000019b0| 6c 61 74 69 6f 6e 20 43 | 61 6e 63 65 6c 6c 65 64 |lation C|ancelled|
|000019c0| 22 20 77 69 74 68 20 22 | 4f 4b 22 0d 65 78 69 74 |" with "|OK".exit|
|000019d0| 20 6d 6f 75 73 65 55 70 | 0d 65 6c 73 65 20 69 66 | mouseUp|.else if|
|000019e0| 20 69 74 20 3d 20 22 59 | 65 73 22 20 74 68 65 6e | it = "Y|es" then|
|000019f0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 48 |.put tru|e into H|
|00001a00| 6f 6d 65 50 61 74 68 0d | 70 75 74 20 77 6f 72 64 |omePath.|put word|
|00001a10| 20 32 20 6f 66 20 74 68 | 65 20 6c 6f 6e 67 20 6e | 2 of th|e long n|
|00001a20| 61 6d 65 20 6f 66 20 73 | 74 61 63 6b 20 22 48 6f |ame of s|tack "Ho|
|00001a30| 6d 65 22 20 69 6e 74 6f | 20 74 6d 70 0d 64 65 6c |me" into| tmp.del|
|00001a40| 65 74 65 20 63 68 61 72 | 20 31 20 6f 66 20 74 6d |ete char| 1 of tm|
|00001a50| 70 0d 64 65 6c 65 74 65 | 20 6c 61 73 74 20 63 68 |p.delete| last ch|
|00001a60| 61 72 20 6f 66 20 74 6d | 70 0d 70 75 74 20 74 6d |ar of tm|p.put tm|
|00001a70| 70 20 69 6e 74 6f 20 44 | 65 73 74 50 61 74 68 0d |p into D|estPath.|
|00001a80| 65 6c 73 65 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |else.put| false i|
|00001a90| 6e 74 6f 20 48 6f 6d 65 | 50 61 74 68 0d 70 75 74 |nto Home|Path.put|
|00001aa0| 20 53 74 61 6e 64 61 72 | 64 46 69 6c 65 28 22 67 | Standar|dFile("g|
|00001ab0| 65 74 22 2c 20 22 53 54 | 41 4b 22 29 20 69 6e 74 |et", "ST|AK") int|
|00001ac0| 6f 20 44 65 73 74 50 61 | 74 68 0d 69 66 20 44 65 |o DestPa|th.if De|
|00001ad0| 73 74 50 61 74 68 20 3d | 20 22 22 20 74 68 65 6e |stPath =| "" then|
|00001ae0| 0d 61 6e 73 77 65 72 20 | 22 49 6e 73 74 61 6c 6c |.answer |"Install|
|00001af0| 61 74 69 6f 6e 20 43 61 | 6e 63 65 6c 6c 65 64 22 |ation Ca|ncelled"|
|00001b00| 20 77 69 74 68 20 22 4f | 4b 22 0d 65 78 69 74 20 | with "O|K".exit |
|00001b10| 6d 6f 75 73 65 55 70 0d | 65 6e 64 20 69 66 0d 65 |mouseUp.|end if.e|
|00001b20| 6e 64 20 69 66 0d 70 75 | 74 20 77 6f 72 64 20 32 |nd if.pu|t word 2|
|00001b30| 20 6f 66 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d | of the |long nam|
|00001b40| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00001b50| 69 6e 74 6f 20 74 6d 70 | 0d 64 65 6c 65 74 65 20 |into tmp|.delete |
|00001b60| 63 68 61 72 20 31 20 6f | 66 20 74 6d 70 0d 64 65 |char 1 o|f tmp.de|
|00001b70| 6c 65 74 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f |lete las|t char o|
|00001b80| 66 20 74 6d 70 0d 70 75 | 74 20 74 6d 70 20 69 6e |f tmp.pu|t tmp in|
|00001b90| 74 6f 20 4d 79 50 61 74 | 68 0d 44 6f 43 6f 70 79 |to MyPat|h.DoCopy|
|00001ba0| 20 4d 79 50 61 74 68 2c | 44 65 73 74 50 61 74 68 | MyPath,|DestPath|
|00001bb0| 2c 22 58 50 52 43 22 2c | 22 47 6c 6f 62 61 6c 73 |,"XPRC",|"Globals|
|00001bc0| 22 0d 44 6f 43 6f 70 79 | 20 4d 79 50 61 74 68 2c |".DoCopy| MyPath,|
|00001bd0| 44 65 73 74 50 61 74 68 | 2c 22 58 50 52 43 22 2c |DestPath|,"XPRC",|
|00001be0| 22 50 47 6c 6f 62 61 6c | 73 22 0d 44 6f 43 6f 70 |"PGlobal|s".DoCop|
|00001bf0| 79 20 4d 79 50 61 74 68 | 2c 44 65 73 74 50 61 74 |y MyPath|,DestPat|
|00001c00| 68 2c 22 58 43 4d 44 22 | 2c 22 5a 61 70 47 6c 6f |h,"XCMD"|,"ZapGlo|
|00001c10| 62 61 6c 73 22 0d 69 66 | 20 48 6f 6d 65 50 61 74 |bals".if| HomePat|
|00001c20| 68 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 45 |h then.a|nswer "E|
|00001c30| 64 69 74 20 73 63 72 69 | 70 74 20 6f 66 20 48 6f |dit scri|pt of Ho|
|00001c40| 6d 65 20 73 74 61 63 6b | 20 74 6f 20 27 5a 61 70 |me stack| to 'Zap|
|00001c50| 47 6c 6f 62 61 6c 73 27 | 3f 22 20 77 69 74 68 20 |Globals'|?" with |
|00001c60| 22 4e 6f 22 20 6f 72 20 | 22 59 65 73 22 0d 69 66 |"No" or |"Yes".if|
|00001c70| 20 69 74 20 3d 20 22 4e | 6f 22 20 74 68 65 6e 0d | it = "N|o" then.|
|00001c80| 68 69 64 65 20 6d 73 67 | 0d 65 78 69 74 20 6d 6f |hide msg|.exit mo|
|00001c90| 75 73 65 55 70 0d 65 6e | 64 20 69 66 0d 45 64 69 |useUp.en|d if.Edi|
|00001ca0| 74 53 63 72 69 70 74 20 | 44 65 73 74 50 61 74 68 |tScript |DestPath|
|00001cb0| 0d 65 6e 64 20 69 66 0d | 68 69 64 65 20 6d 73 67 |.end if.|hide msg|
|00001cc0| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 00 00 22 |.end mou|seUp..."|
|00001cd0| 00 08 02 01 00 16 01 70 | 00 61 01 fd 00 02 00 00 |.......p|.a......|
|00001ce0| 00 00 00 01 00 03 00 09 | 00 00 00 0c 00 00 00 00 |........|........|
|00001cf0| 00 22 00 09 02 01 00 16 | 00 02 00 2e 01 40 00 00 |."......|.....@..|
|00001d00| 00 00 00 00 00 01 00 03 | 00 12 03 00 00 18 00 00 |........|........|
|00001d10| 00 00 00 22 00 0a 02 01 | 00 34 00 02 00 48 01 40 |..."....|.4...H.@|
|00001d20| 00 00 00 00 00 00 00 01 | 00 03 00 0e 03 00 00 12 |........|........|
|00001d30| 00 00 00 00 00 22 00 0c | 02 01 00 4f 00 02 00 61 |....."..|...O...a|
|00001d40| 01 40 00 00 00 00 00 00 | 00 01 00 03 00 0c 00 00 |.@......|........|
|00001d50| 00 10 00 00 00 00 00 50 | 00 0d 01 00 01 3e 00 81 |.......P|.....>..|
|00001d60| 01 54 00 e5 80 03 00 00 | 00 00 00 01 00 00 00 0c |.T......|........|
|00001d70| 00 00 00 10 53 61 6d 70 | 6c 65 c9 00 00 6f 6e 20 |....Samp|le...on |
|00001d80| 6d 6f 75 73 65 55 70 0d | 67 6f 20 63 61 72 64 20 |mouseUp.|go card |
|00001d90| 22 53 61 6d 70 6c 65 22 | 0d 65 6e 64 20 6d 6f 75 |"Sample"|.end mou|
|00001da0| 73 65 55 70 0d 00 00 74 | 00 0e 01 00 00 13 00 00 |seUp...t|........|
|00001db0| 00 31 00 26 00 01 00 00 | 6d 77 00 01 00 00 00 0c |.1.&....|mw......|
|00001dc0| 00 00 00 10 48 6f 6d 65 | 20 42 61 73 65 00 00 6f |....Home| Base..o|
|00001dd0| 6e 20 6d 6f 75 73 65 55 | 70 0d 76 69 73 75 61 6c |n mouseU|p.visual|
|00001de0| 20 65 66 66 65 63 74 20 | 62 61 72 6e 20 64 6f 6f | effect |barn doo|
|00001df0| 72 20 63 6c 6f 73 65 0d | 67 6f 20 73 74 61 63 6b |r close.|go stack|
|00001e00| 20 22 48 6f 6d 65 20 42 | 61 73 65 22 0d 65 6e 64 | "Home B|ase".end|
|00001e10| 20 6d 6f 75 73 65 55 70 | 0d 00 ff fc 50 72 65 73 | mouseUp|....Pres|
|00001e20| 65 72 76 69 6e 67 20 74 | 68 65 20 76 61 6c 75 65 |erving t|he value|
|00001e30| 73 20 6f 66 20 67 6c 6f | 62 61 6c 20 76 61 72 69 |s of glo|bal vari|
|00001e40| 61 62 6c 65 73 20 62 65 | 74 77 65 65 6e 20 73 65 |ables be|tween se|
|00001e50| 70 61 72 61 74 65 20 63 | 61 6c 6c 73 20 6f 66 20 |parate c|alls of |
|00001e60| 58 43 4d 44 73 20 6f 72 | 20 58 46 43 4e 73 20 69 |XCMDs or| XFCNs i|
|00001e70| 73 20 6e 6f 74 20 65 61 | 73 79 20 2d 20 77 68 65 |s not ea|sy - whe|
|00001e80| 72 65 20 64 6f 20 79 6f | 75 20 73 74 6f 72 65 20 |re do yo|u store |
|00001e90| 74 68 65 20 76 61 6c 75 | 65 73 3f 20 54 68 69 73 |the valu|es? This|
|00001ea0| 20 73 74 61 63 6b 20 70 | 72 6f 76 69 64 65 73 20 | stack p|rovides |
|00001eb0| 61 20 73 6f 6c 75 74 69 | 6f 6e c9 0d 0d a5 20 20 |a soluti|on.... |
|00001ec0| 61 6e 20 58 43 4d 44 20 | 22 5a 61 70 47 6c 6f 62 |an XCMD |"ZapGlob|
|00001ed0| 61 6c 73 22 20 2d 20 73 | 65 65 20 5a 61 70 47 6c |als" - s|ee ZapGl|
|00001ee0| 6f 62 61 6c 73 20 62 65 | 6c 6f 77 2e 0d 0d a5 20 |obals be|low.... |
|00001ef0| 20 74 77 6f 20 63 6f 64 | 65 20 72 65 73 6f 75 72 | two cod|e resour|
|00001f00| 63 65 73 20 28 74 79 70 | 65 20 58 50 52 43 29 2c |ces (typ|e XPRC),|
|00001f10| 20 d2 47 6c 6f 62 61 6c | 73 d3 20 66 6f 72 20 43 | .Global|s. for C|
|00001f20| 20 61 6e 64 20 d2 50 47 | 6c 6f 62 61 6c 73 d3 20 | and .PG|lobals. |
|00001f30| 66 6f 72 20 ca ca ca 50 | 61 73 63 61 6c 2c 20 77 |for ...P|ascal, w|
|00001f40| 68 69 63 68 20 70 72 6f | 76 69 64 65 20 61 20 67 |hich pro|vide a g|
|00001f50| 6c 6f 62 61 6c 73 20 73 | 74 6f 72 61 67 65 20 73 |lobals s|torage s|
|00001f60| 65 72 76 69 63 65 2e 20 | 54 68 65 73 65 20 61 72 |ervice. |These ar|
|00001f70| 65 20 62 6f 74 68 20 63 | 6f 64 65 20 ca ca ca 72 |e both c|ode ...r|
|00001f80| 65 73 6f 75 72 63 65 73 | 20 77 69 74 68 20 61 6e |esources| with an|
|00001f90| 20 65 6e 74 72 79 20 70 | 6f 69 6e 74 20 61 74 20 | entry p|oint at |
|00001fa0| 74 68 65 69 72 20 73 74 | 61 72 74 20 61 6e 64 20 |their st|art and |
|00001fb0| 61 72 65 20 6f 66 20 74 | 79 70 65 3a 0d 0d ca ca |are of t|ype:....|
|00001fc0| ca ca ca ca 48 61 6e 64 | 6c 65 20 47 6c 6f 62 61 |....Hand|le Globa|
|00001fd0| 6c 73 28 69 6e 74 20 73 | 65 6c 65 63 74 6f 72 2c |ls(int s|elector,|
|00001fe0| 20 6c 6f 6e 67 20 69 64 | 2c 20 6c 6f 6e 67 20 73 | long id|, long s|
|00001ff0| 69 7a 65 29 3b 0d ca ca | ca ca ca ca 66 75 6e 63 |ize);...|....func|
|00002000| 74 69 6f 6e 20 50 47 6c | 6f 62 61 6c 73 28 73 65 |tion PGl|obals(se|
|00002010| 6c 65 63 74 6f 72 20 3a | 20 69 6e 74 3b 20 69 64 |lector :| int; id|
|00002020| 2c 20 73 69 7a 65 20 3a | 20 4c 6f 6e 67 49 6e 74 |, size :| LongInt|
|00002030| 29 20 3a 20 48 61 6e 64 | 6c 65 3b 0d 0d ca ca ca |) : Hand|le;.....|
|00002040| 49 6e 20 43 20 74 68 65 | 79 20 6d 61 79 20 62 65 |In C the|y may be|
|00002050| 20 6c 6f 61 64 65 64 20 | 62 79 3a 0d 0d ca ca ca | loaded |by:.....|
|00002060| ca ca ca 70 72 6f 63 48 | 61 6e 64 6c 65 20 3d 20 |...procH|andle = |
|00002070| 47 65 74 4e 61 6d 65 64 | 52 65 73 6f 75 72 63 65 |GetNamed|Resource|
|00002080| 28 27 58 50 52 43 27 2c | 20 22 5c 70 47 6c 6f 62 |('XPRC',| "\pGlob|
|00002090| 61 6c 73 22 29 3b 0d ca | ca ca ca ca ca 4c 6f 61 |als");..|.....Loa|
|000020a0| 64 52 65 73 6f 75 72 63 | 65 28 70 72 6f 63 48 61 |dResourc|e(procHa|
|000020b0| 6e 64 6c 65 29 3b 0d ca | ca ca ca ca ca 48 4c 6f |ndle);..|.....HLo|
|000020c0| 63 6b 28 70 72 6f 63 48 | 61 6e 64 6c 65 29 3b 0d |ck(procH|andle);.|
|000020d0| 0d ca ca ca 54 68 65 72 | 65 20 61 72 65 20 74 68 |....Ther|e are th|
|000020e0| 72 65 65 20 66 75 6e 63 | 74 69 6f 6e 73 3a 0d 0d |ree func|tions:..|
|000020f0| ca ca ca a1 20 20 47 65 | 74 47 6c 6f 62 61 6c 73 |.... Ge|tGlobals|
|00002100| 3a 20 73 65 6c 65 63 74 | 6f 72 20 3d 20 31 2e 20 |: select|or = 1. |
|00002110| 27 69 64 27 20 73 68 6f | 75 6c 64 20 62 65 20 61 |'id' sho|uld be a|
|00002120| 20 75 6e 69 71 75 65 20 | 69 64 65 6e 74 69 66 69 | unique |identifi|
|00002130| 65 72 20 66 6f 72 20 ca | ca ca ca ca ca 79 6f 75 |er for .|.....you|
|00002140| 72 20 67 6c 6f 62 61 6c | 20 73 74 6f 72 61 67 65 |r global| storage|
|00002150| 2c 20 27 73 69 7a 65 27 | 20 69 73 20 74 68 65 20 |, 'size'| is the |
|00002160| 6e 75 6d 62 65 72 20 6f | 66 20 62 79 74 65 73 20 |number o|f bytes |
|00002170| 74 6f 20 61 6c 6c 6f 63 | 61 74 65 20 69 66 20 ca |to alloc|ate if .|
|00002180| ca ca ca ca ca 74 68 65 | 20 67 6c 6f 62 61 6c 73 |.....the| globals|
|00002190| 20 64 6f 6e 27 74 20 61 | 6c 72 65 61 64 79 20 65 | don't a|lready e|
|000021a0| 78 69 73 74 20 2d 20 69 | 66 20 7a 65 72 6f 20 6e |xist - i|f zero n|
|000021b0| 6f 74 68 69 6e 67 20 77 | 69 6c 6c 20 62 65 20 61 |othing w|ill be a|
|000021c0| 6c 6c 6f 63 61 74 65 64 | 2e 20 ca ca ca ca ca ca |llocated|. ......|
|000021d0| 54 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 61 20 |The resu|lt is a |
|000021e0| 68 61 6e 64 6c 65 20 28 | 75 6e 6c 6f 63 6b 65 64 |handle (|unlocked|
|000021f0| 29 20 74 6f 20 79 6f 75 | 72 20 67 6c 6f 62 61 6c |) to you|r global|
|00002200| 20 73 74 6f 72 61 67 65 | 2c 20 6f 72 20 4e 49 4c | storage|, or NIL|
|00002210| 20 69 66 20 ca ca ca ca | ca ca 74 68 65 72 65 20 | if ....|..there |
|00002220| 77 61 73 20 61 6e 20 65 | 72 72 6f 72 20 6f 72 20 |was an e|rror or |
|00002230| 74 68 65 20 67 6c 6f 62 | 61 6c 73 20 64 6f 6e 27 |the glob|als don'|
|00002240| 74 20 65 78 69 73 74 20 | 61 6e 64 20 27 73 69 7a |t exist |and 'siz|
|00002250| 65 27 20 77 61 73 20 7a | 65 72 6f 2e 20 ca ca ca |e' was z|ero. ...|
|00002260| ca ca ca 46 6f 72 20 65 | 78 61 6d 70 6c 65 3a 0d |...For e|xample:.|
|00002270| 0d ca ca ca ca ca ca 20 | 20 20 68 20 3d 20 28 2a |....... | h = (*|
|00002280| 2a 70 72 6f 63 48 61 6e | 64 6c 65 29 28 31 2c 20 |*procHan|dle)(1, |
|00002290| 27 74 61 6c 6b 27 2c 20 | 73 69 7a 65 6f 66 20 73 |'talk', |sizeof s|
|000022a0| 74 72 75 63 74 20 74 61 | 6c 6b 64 61 74 61 29 3b |truct ta|lkdata);|
|000022b0| 0d 0d ca ca ca a1 20 20 | 46 72 65 65 47 6c 6f 62 |...... |FreeGlob|
|000022c0| 61 6c 73 3a 20 73 65 6c | 65 63 74 6f 72 20 3d 20 |als: sel|ector = |
|000022d0| 32 2e 20 27 69 64 27 20 | 61 73 20 61 62 6f 76 65 |2. 'id' |as above|
|000022e0| 2c 20 27 73 69 7a 65 27 | 20 75 6e 75 73 65 64 20 |, 'size'| unused |
|000022f0| 28 6d 61 79 20 62 65 20 | ca ca ca ca ca ca 6f 6d |(may be |......om|
|00002300| 69 74 74 65 64 20 69 6e | 20 43 20 62 75 74 20 4e |itted in| C but N|
|00002310| 4f 54 20 69 6e 20 50 61 | 73 63 61 6c 21 29 2e 20 |OT in Pa|scal!). |
|00002320| 52 65 6d 6f 76 65 73 20 | 74 68 65 20 67 6c 6f 62 |Removes |the glob|
|00002330| 61 6c 73 20 61 6e 64 20 | ca ca ca ca ca ca 64 65 |als and |......de|
|00002340| 61 6c 6c 6f 63 61 74 65 | 73 20 74 68 65 69 72 20 |allocate|s their |
|00002350| 6d 65 6d 6f 72 79 2e 20 | 52 65 74 75 72 6e 73 20 |memory. |Returns |
|00002360| 4e 49 4c 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |NIL. For| example|
|00002370| 3a 0d 0d ca ca ca ca ca | ca 20 20 20 28 2a 2a 70 |:.......|. (**p|
|00002380| 72 6f 63 48 61 6e 64 6c | 65 29 28 32 2c 20 27 74 |rocHandl|e)(2, 't|
|00002390| 61 6c 6b 27 29 3b 0d 0d | ca ca ca a1 20 20 5a 61 |alk');..|.... Za|
|000023a0| 70 47 6c 6f 62 61 6c 73 | 3a 20 73 65 6c 65 63 74 |pGlobals|: select|
|000023b0| 6f 72 20 3d 20 33 2c 20 | 27 69 64 27 20 61 6e 64 |or = 3, |'id' and|
|000023c0| 20 27 73 69 7a 65 27 20 | 75 6e 75 73 65 64 2e 20 | 'size' |unused. |
|000023d0| 52 65 6d 6f 76 65 73 20 | 61 6c 6c 20 ca ca ca ca |Removes |all ....|
|000023e0| ca ca 67 6c 6f 62 61 6c | 73 20 62 75 74 20 44 4f |..global|s but DO|
|000023f0| 45 53 20 4e 4f 54 20 64 | 65 61 6c 6c 6f 63 61 74 |ES NOT d|eallocat|
|00002400| 65 20 74 68 65 69 72 20 | 6d 65 6d 6f 72 79 2e 20 |e their |memory. |
|00002410| 54 68 69 73 20 69 73 20 | 63 61 6c 6c 65 64 20 28 |This is |called (|
|00002420| 76 69 61 20 ca ca ca ca | ca ca 74 68 65 20 27 5a |via ....|..the 'Z|
|00002430| 61 70 47 6c 6f 62 61 6c | 73 27 20 58 43 4d 44 29 |apGlobal|s' XCMD)|
|00002440| 20 6f 6e 20 48 79 70 65 | 72 43 61 72 64 20 73 68 | on Hype|rCard sh|
|00002450| 75 74 64 6f 77 6e 20 61 | 6e 64 20 73 75 73 70 65 |utdown a|nd suspe|
|00002460| 6e 73 69 6f 6e 20 2d 20 | ca ca ca ca ca ca 6d 65 |nsion - |......me|
|00002470| 73 73 61 67 65 73 20 27 | 71 75 69 74 27 20 61 6e |ssages '|quit' an|
|00002480| 64 20 27 73 75 73 70 65 | 6e 64 27 2e 20 59 6f 75 |d 'suspe|nd'. You|
|00002490| 20 73 68 6f 75 6c 64 6e | 27 74 20 6e 65 65 64 20 | shouldn|'t need |
|000024a0| 74 6f 20 63 61 6c 6c 20 | 74 68 69 73 0d ca 20 20 |to call |this.. |
|000024b0| 20 20 20 79 6f 75 72 73 | 65 6c 66 2e 0d 0d 54 68 | yours|elf...Th|
|000024c0| 65 73 65 20 74 77 6f 20 | 58 50 52 43 73 20 61 6e |ese two |XPRCs an|
|000024d0| 64 20 74 68 65 20 58 43 | 4d 44 20 6d 61 79 20 62 |d the XC|MD may b|
|000024e0| 65 20 69 6e 73 74 61 6c | 6c 65 64 20 69 6e 20 79 |e instal|led in y|
|000024f0| 6f 75 72 20 48 6f 6d 65 | 20 73 74 61 63 6b 2c 20 |our Home| stack, |
|00002500| 73 6f 20 61 6c 6c 20 58 | 43 4d 44 73 20 61 6e 64 |so all X|CMDs and|
|00002510| 20 58 46 43 4e 73 20 63 | 61 6e 20 75 73 65 20 74 | XFCNs c|an use t|
|00002520| 68 65 6d 2c 20 62 79 20 | 70 72 65 73 73 69 6e 67 |hem, by |pressing|
|00002530| 20 74 68 65 20 22 49 6e | 73 74 61 6c 6c c9 22 20 | the "In|stall." |
|00002540| 62 75 74 74 6f 6e 2e 20 | 41 20 73 61 6d 70 6c 65 |button. |A sample|
|00002550| 20 43 20 69 6e 74 65 72 | 66 61 63 65 20 74 6f 20 | C inter|face to |
|00002560| 74 68 65 73 65 20 72 6f | 75 74 69 6e 65 73 20 6d |these ro|utines m|
|00002570| 61 79 20 62 65 20 73 65 | 65 6e 20 62 79 20 70 72 |ay be se|en by pr|
|00002580| 65 73 73 69 6e 67 20 22 | 53 61 6d 70 6c 65 c9 22 |essing "|Sample."|
|00002590| 00 ff f8 4e 69 67 65 6c | 20 50 65 72 72 79 0d 44 |...Nigel| Perry.D|
|000025a0| 65 70 74 20 6f 66 20 43 | 6f 6d 70 75 74 69 6e 67 |ept of C|omputing|
|000025b0| 0d 49 6d 70 65 72 69 61 | 6c 20 43 6f 6c 6c 65 67 |.Imperia|l Colleg|
|000025c0| 65 0d 4c 6f 6e 64 6f 6e | 20 53 57 37 0d 0d 65 6d |e.London| SW7..em|
|000025d0| 61 69 6c 3a 20 6e 70 40 | 75 6b 2e 61 63 2e 69 63 |ail: np@|uk.ac.ic|
|000025e0| 2e 64 6f 63 00 ff f7 28 | 50 29 47 6c 6f 62 61 6c |.doc...(|P)Global|
|000025f0| 73 00 ff f6 41 20 55 74 | 69 6c 69 74 79 20 66 6f |s...A Ut|ility fo|
|00002600| 72 20 48 79 70 65 72 54 | 61 6c 6b 20 50 72 6f 67 |r HyperT|alk Prog|
|00002610| 72 61 6d 6d 65 72 73 00 | ff f4 a9 31 39 38 39 2c |rammers.|...1989,|
|00002620| 20 4e 69 67 65 6c 20 50 | 65 72 72 79 2c 20 50 6f | Nigel P|erry, Po|
|00002630| 72 74 69 6f 6e 73 20 a9 | 20 54 68 69 6e 6b 00 53 |rtions .| Think.S|
|00002640| 74 61 72 74 00 6f 6e 20 | 6f 70 65 6e 43 61 72 64 |tart.on |openCard|
|00002650| 0d 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |.set the| scroll |
|00002660| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 64 |of card |field "d|
|00002670| 65 73 63 22 20 74 6f 20 | 30 0d 65 6e 64 20 6f 70 |esc" to |0.end op|
|00002680| 65 6e 43 61 72 64 00 00 | 00 00 00 00 00 00 00 00 |enCard..|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 40 42 4d 41 50 | 00 00 0c f8 00 00 00 00 |...@BMAP|........|
|000026b0| 00 01 00 00 00 00 00 00 | 01 56 02 00 00 00 00 00 |........|.V......|
|000026c0| 00 00 00 00 00 63 00 00 | 00 66 02 00 00 00 00 00 |.....c..|.f......|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 04 a3 82 ff ff |........|........|
|000026e0| 00 00 0b 40 43 41 52 44 | 00 00 08 7c 00 00 00 00 |...@CARD|...|....|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0f 16 |........|........|
|00002700| 00 00 0a 3b 00 09 00 0c | 00 00 04 dc 00 06 00 00 |...;....|........|
|00002710| 05 cb 00 2e 00 01 02 01 | 00 97 00 21 01 51 01 d0 |........|...!.Q..|
|00002720| 00 04 00 00 00 00 00 00 | 00 04 00 09 00 00 00 0c |........|........|
|00002730| 47 6c 6f 62 61 6c 73 49 | 6e 74 2e 63 00 00 00 00 |GlobalsI|nt.c....|
|00002740| 00 2e 00 05 02 01 00 4b | 00 20 00 80 01 cf 00 04 |.......K|. ......|
|00002750| 00 00 00 00 00 00 00 04 | 00 09 00 00 00 0c 47 6c |........|......Gl|
|00002760| 6f 62 61 6c 73 49 6e 74 | 2e 68 00 00 00 00 00 22 |obalsInt|.h....."|
|00002770| 00 06 02 01 00 82 00 02 | 00 94 00 66 00 00 00 00 |........|...f....|
|00002780| 00 00 00 00 00 03 00 0c | 03 00 00 10 00 00 00 00 |........|........|
|00002790| 00 22 00 07 02 01 00 37 | 00 02 00 49 00 69 00 00 |.".....7|...I.i..|
|000027a0| 00 00 00 00 00 00 00 03 | 00 0c 03 00 00 10 00 00 |........|........|
|000027b0| 00 00 00 22 00 08 02 01 | 00 02 00 02 00 2d 01 85 |..."....|.....-..|
|000027c0| 00 00 00 00 00 00 00 00 | 00 03 00 0a 00 00 00 0d |........|........|
|000027d0| 00 00 00 00 01 da 00 09 | 01 00 00 26 01 86 00 3c |........|...&...<|
|000027e0| 01 ea a0 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|000027f0| 00 10 50 6c 61 69 6e 20 | 43 20 46 69 6c 65 73 c9 |..Plain |C Files.|
|00002800| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 70 75 74 |..on mou|seUp.put|
|00002810| 20 53 74 61 6e 64 61 72 | 64 46 69 6c 65 28 22 70 | Standar|dFile("p|
|00002820| 75 74 22 2c 20 22 47 6c | 6f 62 61 6c 73 49 6e 74 |ut", "Gl|obalsInt|
|00002830| 2e 68 22 29 20 69 6e 74 | 6f 20 64 65 73 74 0d 69 |.h") int|o dest.i|
|00002840| 66 20 64 65 73 74 20 3d | 20 22 22 0d 74 68 65 6e |f dest =| "".then|
|00002850| 0d 61 6e 73 77 65 72 20 | 22 46 69 6c 65 20 77 72 |.answer |"File wr|
|00002860| 69 74 69 6e 67 20 63 61 | 6e 63 65 6c 6c 65 64 22 |iting ca|ncelled"|
|00002870| 20 77 69 74 68 20 22 4f | 6b 22 0d 65 78 69 74 20 | with "O|k".exit |
|00002880| 6d 6f 75 73 65 55 70 0d | 65 6e 64 20 69 66 0d 6f |mouseUp.|end if.o|
|00002890| 70 65 6e 20 66 69 6c 65 | 20 64 65 73 74 0d 77 72 |pen file| dest.wr|
|000028a0| 69 74 65 20 63 64 20 66 | 6c 64 20 22 47 6c 6f 62 |ite cd f|ld "Glob|
|000028b0| 61 6c 73 49 6e 74 2e 68 | 22 20 74 6f 20 66 69 6c |alsInt.h|" to fil|
|000028c0| 65 20 64 65 73 74 0d 63 | 6c 6f 73 65 20 66 69 6c |e dest.c|lose fil|
|000028d0| 65 20 64 65 73 74 0d 70 | 75 74 20 53 74 61 6e 64 |e dest.p|ut Stand|
|000028e0| 61 72 64 46 69 6c 65 28 | 22 70 75 74 22 2c 20 22 |ardFile(|"put", "|
|000028f0| 47 6c 6f 62 61 6c 73 49 | 6e 74 2e 63 22 29 20 69 |GlobalsI|nt.c") i|
|00002900| 6e 74 6f 20 64 65 73 74 | 0d 69 66 20 64 65 73 74 |nto dest|.if dest|
|00002910| 20 3d 20 22 22 0d 74 68 | 65 6e 0d 61 6e 73 77 65 | = "".th|en.answe|
|00002920| 72 20 22 46 69 6c 65 20 | 77 72 69 74 69 6e 67 20 |r "File |writing |
|00002930| 63 61 6e 63 65 6c 6c 65 | 64 22 20 77 69 74 68 20 |cancelle|d" with |
|00002940| 22 4f 6b 22 0d 65 78 69 | 74 20 6d 6f 75 73 65 55 |"Ok".exi|t mouseU|
|00002950| 70 0d 65 6e 64 20 69 66 | 0d 6f 70 65 6e 20 66 69 |p.end if|.open fi|
|00002960| 6c 65 20 64 65 73 74 0d | 77 72 69 74 65 20 63 64 |le dest.|write cd|
|00002970| 20 66 6c 64 20 22 47 6c | 6f 62 61 6c 73 49 6e 74 | fld "Gl|obalsInt|
|00002980| 2e 63 22 20 74 6f 20 66 | 69 6c 65 20 64 65 73 74 |.c" to f|ile dest|
|00002990| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 64 65 73 74 |.close f|ile dest|
|000029a0| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 00 00 26 |.end mou|seUp...&|
|000029b0| 00 0a 02 81 00 31 00 20 | 01 51 01 f6 00 07 00 00 |.....1. |.Q......|
|000029c0| 00 00 00 00 00 04 00 09 | 00 00 00 0c 4c 53 43 2e |........|....LSC.|
|000029d0| 63 00 00 00 01 d0 00 0b | 01 00 00 0c 01 86 00 22 |c.......|......."|
|000029e0| 01 ea 80 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|000029f0| 00 10 4c 53 43 20 46 69 | 6c 65 73 c9 00 00 6f 6e |..LSC Fi|les...on|
|00002a00| 20 6d 6f 75 73 65 55 70 | 0d 70 75 74 20 53 74 61 | mouseUp|.put Sta|
|00002a10| 6e 64 61 72 64 46 69 6c | 65 28 22 70 75 74 22 2c |ndardFil|e("put",|
|00002a20| 20 22 47 6c 6f 62 61 6c | 73 49 6e 74 2e 68 22 29 | "Global|sInt.h")|
|00002a30| 20 69 6e 74 6f 20 64 65 | 73 74 0d 69 66 20 64 65 | into de|st.if de|
|00002a40| 73 74 20 3d 20 22 22 0d | 74 68 65 6e 0d 61 6e 73 |st = "".|then.ans|
|00002a50| 77 65 72 20 22 46 69 6c | 65 20 77 72 69 74 69 6e |wer "Fil|e writin|
|00002a60| 67 20 63 61 6e 63 65 6c | 6c 65 64 22 20 77 69 74 |g cancel|led" wit|
|00002a70| 68 20 22 4f 6b 22 0d 65 | 78 69 74 20 6d 6f 75 73 |h "Ok".e|xit mous|
|00002a80| 65 55 70 0d 65 6e 64 20 | 69 66 0d 6f 70 65 6e 20 |eUp.end |if.open |
|00002a90| 66 69 6c 65 20 64 65 73 | 74 0d 77 72 69 74 65 20 |file des|t.write |
|00002aa0| 63 64 20 66 6c 64 20 22 | 47 6c 6f 62 61 6c 73 49 |cd fld "|GlobalsI|
|00002ab0| 6e 74 2e 68 22 20 74 6f | 20 66 69 6c 65 20 64 65 |nt.h" to| file de|
|00002ac0| 73 74 0d 63 6c 6f 73 65 | 20 66 69 6c 65 20 64 65 |st.close| file de|
|00002ad0| 73 74 0d 70 75 74 20 53 | 74 61 6e 64 61 72 64 46 |st.put S|tandardF|
|00002ae0| 69 6c 65 28 22 70 75 74 | 22 2c 20 22 47 6c 6f 62 |ile("put|", "Glob|
|00002af0| 61 6c 73 49 6e 74 2e 63 | 22 29 20 69 6e 74 6f 20 |alsInt.c|") into |
|00002b00| 64 65 73 74 0d 69 66 20 | 64 65 73 74 20 3d 20 22 |dest.if |dest = "|
|00002b10| 22 0d 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 46 |".then.a|nswer "F|
|00002b20| 69 6c 65 20 77 72 69 74 | 69 6e 67 20 63 61 6e 63 |ile writ|ing canc|
|00002b30| 65 6c 6c 65 64 22 20 77 | 69 74 68 20 22 4f 6b 22 |elled" w|ith "Ok"|
|00002b40| 0d 65 78 69 74 20 6d 6f | 75 73 65 55 70 0d 65 6e |.exit mo|useUp.en|
|00002b50| 64 20 69 66 0d 6f 70 65 | 6e 20 66 69 6c 65 20 64 |d if.ope|n file d|
|00002b60| 65 73 74 0d 77 72 69 74 | 65 20 63 64 20 66 6c 64 |est.writ|e cd fld|
|00002b70| 20 22 4c 53 43 2e 63 22 | 20 74 6f 20 66 69 6c 65 | "LSC.c"| to file|
|00002b80| 20 64 65 73 74 0d 63 6c | 6f 73 65 20 66 69 6c 65 | dest.cl|ose file|
|00002b90| 20 64 65 73 74 0d 65 6e | 64 20 6d 6f 75 73 65 55 | dest.en|d mouseU|
|00002ba0| 70 0d 00 00 00 4a 00 0c | 01 00 01 32 00 00 01 4c |p....J..|...2...L|
|00002bb0| 00 1e 00 01 00 00 03 f6 | 00 01 00 00 00 0c 00 00 |........|........|
|00002bc0| 00 10 42 61 63 6b 00 00 | 6f 6e 20 6d 6f 75 73 65 |..Back..|on mouse|
|00002bd0| 55 70 0d 67 6f 20 63 64 | 20 22 53 74 61 72 74 22 |Up.go cd| "Start"|
|00002be0| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 00 ff ff |.end mou|seUp....|
|00002bf0| 23 69 6e 63 6c 75 64 65 | 20 22 47 6c 6f 62 61 6c |#include| "Global|
|00002c00| 73 49 6e 74 2e 68 22 0d | 0d 23 64 65 66 69 6e 65 |sInt.h".|.#define|
|00002c10| 20 4e 49 4c 20 28 28 76 | 6f 69 64 20 2a 29 30 29 | NIL ((v|oid *)0)|
|00002c20| 0d 0d 74 79 70 65 64 65 | 66 20 48 61 6e 64 6c 65 |..typede|f Handle|
|00002c30| 20 28 2a 2a 66 68 29 28 | 29 3b 0d 0d 48 61 6e 64 | (**fh)(|);..Hand|
|00002c40| 6c 65 20 47 6c 6f 62 61 | 6c 73 49 6e 74 65 72 66 |le Globa|lsInterf|
|00002c50| 61 63 65 28 73 65 6c 65 | 63 74 2c 20 69 64 2c 20 |ace(sele|ct, id, |
|00002c60| 73 69 7a 65 29 20 69 6e | 74 20 73 65 6c 65 63 74 |size) in|t select|
|00002c70| 3b 20 6c 6f 6e 67 20 69 | 64 2c 20 73 69 7a 65 3b |; long i|d, size;|
|00002c80| 0d 7b 20 72 65 67 69 73 | 74 65 72 20 48 61 6e 64 |.{ regis|ter Hand|
|00002c90| 6c 65 20 72 65 73 3b 0d | 20 20 72 65 67 69 73 74 |le res;.| regist|
|00002ca0| 65 72 20 66 68 20 58 70 | 72 63 3b 0d 0d 20 20 58 |er fh Xp|rc;.. X|
|00002cb0| 70 72 63 20 3d 20 28 66 | 68 29 47 65 74 4e 61 6d |prc = (f|h)GetNam|
|00002cc0| 65 64 52 65 73 6f 75 72 | 63 65 28 27 58 50 52 43 |edResour|ce('XPRC|
|00002cd0| 27 2c 20 22 5c 70 47 6c | 6f 62 61 6c 73 22 29 3b |', "\pGl|obals");|
|00002ce0| 0d 20 20 69 66 28 58 70 | 72 63 20 3d 3d 20 4e 49 |. if(Xp|rc == NI|
|00002cf0| 4c 29 20 72 65 74 75 72 | 6e 20 4e 49 4c 3b 0d 20 |L) retur|n NIL;. |
|00002d00| 20 4c 6f 61 64 52 65 73 | 6f 75 72 63 65 28 28 48 | LoadRes|ource((H|
|00002d10| 61 6e 64 6c 65 29 58 70 | 72 63 29 3b 0d 20 20 72 |andle)Xp|rc);. r|
|00002d20| 65 73 20 3d 20 28 2a 2a | 58 70 72 63 29 28 73 65 |es = (**|Xprc)(se|
|00002d30| 6c 65 63 74 2c 20 69 64 | 2c 20 73 69 7a 65 29 3b |lect, id|, size);|
|00002d40| 0d 7d 0d 00 ff fb 48 61 | 6e 64 6c 65 20 47 6c 6f |.}....Ha|ndle Glo|
|00002d50| 62 61 6c 73 49 6e 74 65 | 72 66 61 63 65 28 69 6e |balsInte|rface(in|
|00002d60| 74 2c 20 2e 2e 2e 29 3b | 0d 23 64 65 66 69 6e 65 |t, ...);|.#define|
|00002d70| 20 47 65 74 47 6c 6f 62 | 61 6c 73 28 69 64 2c 20 | GetGlob|als(id, |
|00002d80| 73 69 7a 65 29 20 47 6c | 6f 62 61 6c 73 49 6e 74 |size) Gl|obalsInt|
|00002d90| 65 72 66 61 63 65 28 31 | 2c 20 28 6c 6f 6e 67 29 |erface(1|, (long)|
|00002da0| 69 64 2c 20 28 6c 6f 6e | 67 29 73 69 7a 65 29 0d |id, (lon|g)size).|
|00002db0| 23 64 65 66 69 6e 65 20 | 46 72 65 65 47 6c 6f 62 |#define |FreeGlob|
|00002dc0| 61 6c 73 28 69 64 29 20 | 28 76 6f 69 64 29 47 6c |als(id) |(void)Gl|
|00002dd0| 6f 62 61 6c 73 49 6e 74 | 65 72 66 61 63 65 28 32 |obalsInt|erface(2|
|00002de0| 2c 20 28 6c 6f 6e 67 29 | 69 64 29 0d 23 64 65 66 |, (long)|id).#def|
|00002df0| 69 6e 65 20 5a 61 70 47 | 6c 6f 62 61 6c 73 28 29 |ine ZapG|lobals()|
|00002e00| 20 28 76 6f 69 64 29 47 | 6c 6f 62 61 6c 73 49 6e | (void)G|lobalsIn|
|00002e10| 74 65 72 66 61 63 65 28 | 33 29 0d 00 ff f9 47 6c |terface(|3)....Gl|
|00002e20| 6f 62 61 6c 73 49 6e 74 | 2e 68 00 ff fa 47 6c 6f |obalsInt|.h...Glo|
|00002e30| 62 61 6c 73 49 6e 74 2e | 63 00 ff f8 54 68 65 20 |balsInt.|c...The |
|00002e40| 43 20 63 6f 64 65 20 62 | 65 6c 6f 77 20 69 73 20 |C code b|elow is |
|00002e50| 61 20 73 69 6d 70 6c 65 | 20 69 6e 74 65 72 66 61 |a simple| interfa|
|00002e60| 63 65 20 74 6f 20 74 68 | 65 20 47 6c 6f 62 61 6c |ce to th|e Global|
|00002e70| 73 20 58 50 52 43 2e 20 | 54 6f 20 67 65 6e 65 72 |s XPRC. |To gener|
|00002e80| 61 74 65 20 74 65 78 74 | 20 66 69 6c 65 73 20 63 |ate text| files c|
|00002e90| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 69 73 20 63 |ontainin|g this c|
|00002ea0| 6f 64 65 20 75 73 65 20 | 65 69 74 68 65 72 20 74 |ode use |either t|
|00002eb0| 68 65 20 d2 4c 53 43 20 | 46 69 6c 65 73 c9 d3 20 |he .LSC |Files.. |
|00002ec0| 6f 72 20 74 68 65 20 d2 | 50 6c 61 69 6e 20 43 20 |or the .|Plain C |
|00002ed0| 46 69 6c 65 73 c9 d3 20 | 62 75 74 74 6f 6e 20 28 |Files.. |button (|
|00002ee0| 74 68 65 20 4c 53 43 20 | 76 65 72 73 69 6f 6e 20 |the LSC |version |
|00002ef0| 63 6f 6e 74 61 69 6e 73 | 20 61 73 73 65 6d 62 6c |contains| assembl|
|00002f00| 65 72 20 63 6f 64 65 29 | 2e 00 ff f6 23 69 6e 63 |er code)|....#inc|
|00002f10| 6c 75 64 65 20 22 47 6c | 6f 62 61 6c 73 49 6e 74 |lude "Gl|obalsInt|
|00002f20| 2e 68 22 0d 0d 23 64 65 | 66 69 6e 65 20 4e 49 4c |.h"..#de|fine NIL|
|00002f30| 20 28 28 76 6f 69 64 20 | 2a 29 30 29 0d 0d 74 79 | ((void |*)0)..ty|
|00002f40| 70 65 64 65 66 20 48 61 | 6e 64 6c 65 20 28 2a 2a |pedef Ha|ndle (**|
|00002f50| 66 68 29 28 29 3b 0d 0d | 48 61 6e 64 6c 65 20 47 |fh)();..|Handle G|
|00002f60| 6c 6f 62 61 6c 73 49 6e | 74 65 72 66 61 63 65 28 |lobalsIn|terface(|
|00002f70| 73 65 6c 65 63 74 2c 20 | 69 64 2c 20 73 69 7a 65 |select, |id, size|
|00002f80| 29 20 69 6e 74 20 73 65 | 6c 65 63 74 3b 20 6c 6f |) int se|lect; lo|
|00002f90| 6e 67 20 69 64 2c 20 73 | 69 7a 65 3b 0d 7b 2f 2a |ng id, s|ize;.{/*|
|00002fa0| 20 72 65 67 69 73 74 65 | 72 20 48 61 6e 64 6c 65 | registe|r Handle|
|00002fb0| 20 72 65 73 3b 20 2a 2f | 0d 72 65 67 69 73 74 65 | res; */|.registe|
|00002fc0| 72 20 66 68 20 58 70 72 | 63 3b 0d 0d 2f 2a 20 58 |r fh Xpr|c;../* X|
|00002fd0| 70 72 63 20 3d 20 28 66 | 68 29 47 65 74 4e 61 6d |prc = (f|h)GetNam|
|00002fe0| 65 64 52 65 73 6f 75 72 | 63 65 28 27 58 50 52 43 |edResour|ce('XPRC|
|00002ff0| 27 2c 20 22 5c 70 47 6c | 6f 62 61 6c 73 22 29 3b |', "\pGl|obals");|
|00003000| 0d 69 66 28 58 70 72 63 | 20 3d 3d 20 4e 49 4c 29 |.if(Xprc| == NIL)|
|00003010| 20 72 65 74 75 72 6e 20 | 4e 49 4c 3b 0d 4c 6f 61 | return |NIL;.Loa|
|00003020| 64 52 65 73 6f 75 72 63 | 65 28 28 48 61 6e 64 6c |dResourc|e((Handl|
|00003030| 65 29 58 70 72 63 29 3b | 0d 72 65 73 20 3d 20 28 |e)Xprc);|.res = (|
|00003040| 2a 2a 58 70 72 63 29 28 | 73 65 6c 65 63 74 2c 20 |**Xprc)(|select, |
|00003050| 69 64 2c 20 73 69 7a 65 | 29 3b 20 2a 2f 0d 61 73 |id, size|); */.as|
|00003060| 6d 0d 7b 63 6c 72 2e 6c | 2d 28 61 37 29 0d 70 65 |m.{clr.l|-(a7).pe|
|00003070| 61 27 58 50 52 43 27 0d | 70 65 61 40 6e 61 6d 65 |a'XPRC'.|pea@name|
|00003080| 0d 5f 47 65 74 4e 61 6d | 65 64 52 65 73 6f 75 72 |._GetNam|edResour|
|00003090| 63 65 0d 6d 6f 76 65 2e | 6c 28 61 37 29 2c 64 30 |ce.move.|l(a7),d0|
|000030a0| 0d 62 65 71 2e 73 40 66 | 61 69 6c 65 64 0d 6d 6f |.beq.s@f|ailed.mo|
|000030b0| 76 65 2e 6c 64 30 2c 58 | 70 72 63 0d 5f 4c 6f 61 |ve.ld0,X|prc._Loa|
|000030c0| 64 52 65 73 6f 75 72 63 | 65 0d 6d 6f 76 65 61 2e |dResourc|e.movea.|
|000030d0| 6c 58 70 72 63 2c 61 30 | 0d 5f 48 4c 6f 63 6b 0d |lXprc,a0|._HLock.|
|000030e0| 0d 6d 6f 76 65 2e 6c 73 | 69 7a 65 2c 2d 28 61 37 |.move.ls|ize,-(a7|
|000030f0| 29 0d 6d 6f 76 65 2e 6c | 69 64 2c 2d 28 61 37 29 |).move.l|id,-(a7)|
|00003100| 0d 6d 6f 76 65 2e 77 73 | 65 6c 65 63 74 2c 2d 28 |.move.ws|elect,-(|
|00003110| 61 37 29 0d 6d 6f 76 65 | 61 2e 6c 28 58 70 72 63 |a7).move|a.l(Xprc|
|00003120| 29 2c 61 30 0d 6a 73 72 | 28 61 30 29 0d 6c 65 61 |),a0.jsr|(a0).lea|
|00003130| 31 30 28 61 37 29 2c 61 | 37 0d 0d 6d 6f 76 65 61 |10(a7),a|7..movea|
|00003140| 2e 6c 58 70 72 63 2c 61 | 30 0d 6d 6f 76 65 61 2e |.lXprc,a|0.movea.|
|00003150| 6c 64 30 2c 58 70 72 63 | 0d 5f 48 55 6e 6c 6f 63 |ld0,Xprc|._HUnloc|
|00003160| 6b 0d 6d 6f 76 65 2e 6c | 58 70 72 63 2c 64 30 0d |k.move.l|Xprc,d0.|
|00003170| 72 65 74 75 72 6e 0d 0d | 6e 61 6d 65 3a 64 63 2e |return..|name:dc.|
|00003180| 62 37 2c 27 47 27 2c 27 | 6c 27 2c 27 6f 27 2c 27 |b7,'G','|l','o','|
|00003190| 62 27 2c 27 61 27 2c 27 | 6c 27 2c 27 73 27 0d 0d |b','a','|l','s'..|
|000031a0| 66 61 69 6c 65 64 3a 0d | 61 64 64 71 2e 6c 23 34 |failed:.|addq.l#4|
|000031b0| 2c 61 37 0d 7d 0d 7d 0d | 00 53 61 6d 70 6c 65 00 |,a7.}.}.|.Sample.|
|000031c0| 6f 6e 20 6f 70 65 6e 43 | 61 72 64 0d 68 69 64 65 |on openC|ard.hide|
|000031d0| 20 6d 65 6e 75 62 61 72 | 0d 65 6e 64 20 6f 70 65 | menubar|.end ope|
|000031e0| 6e 43 61 72 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 43 |nCard..o|n closeC|
|000031f0| 61 72 64 0d 73 68 6f 77 | 20 6d 65 6e 75 62 61 72 |ard.show| menubar|
|00003200| 0d 65 6e 64 20 63 6c 6f | 73 65 43 61 72 64 00 00 |.end clo|seCard..|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 20 54 41 49 4c | ff ff ff ff 13 54 68 61 |... TAIL|.....Tha|
|00003230| 74 27 73 20 61 6c 6c 20 | 66 6f 6c 6b 73 2e 2e 2e |t's all |folks...|
+--------+-------------------------+-------------------------+--------+--------+